import Vue from 'vue'
import Router from 'vue-router'
import Note from '@/components/views/note/Note'
import Tool from '@/components/views/tool/Tool'
import Collect from '@/components/views/collect/Collect'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Welcome',
      component: Note
    },
    {
      path: '/note',
      name: 'Note',
      component: Note
    },
    {
      path: '/tool',
      name: 'Tool',
      component: Tool
    }
    ,
    {
      path: '/collect',
      name: 'Collect',
      component: Collect
    }
  ]
})
